package com.xd.clap.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Rate {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ExcelProperty("手机号")
    private String phone;

    @ExcelProperty("内容")
    private String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty("评分")
    private Integer rate;

}
